I just replied to this in a different (the wrong?) thread. Play aggressive defense! Drive to the basket! If the refs are intent on fouling you out, they will...with no excuses...
If you play passively, to "not lose" (or not to foul) instead of playing to win you will lose anyway! This does not mean to foul intentionally, unless it is in the game plan..i.e. at the end of the game to stop the clock, or hack-a-shaq, but don't be afraid of making incidental, accidental contact.