Fix Mac compilation
Merge pull request #2690 from mdboom/mac-compile

Build failure on MacOS X 10.5.8 (PowerPC G5) with Python 3.3.3