Fixed building python modules on MacOS X.

Python modules now build successfully using either MacPorts gcc (make)
or Xcode command-line tools (make CC=cc) and MacPorts SWIG. Use of a
matching Python installation (i.e. MacPorts or native respectively) is
recommended.