patching the setup for Mac OS X

Tested on OS X 10.8.3, Python 2.7.5, hdf5 1.8.11 (homebrew)