fixes for building on OS X
Merge pull request #20 from cdfox/master

fixes for building on OS X
Thanks, works nice. (For others on Mac OS X Cython support is still not out of the box)