Mod: setup.py to work on OSX

Most of the code doesn't work on OSX but this commit should be a good
start.