Finally able to setup my build environment to putatively support mex files for OSX 10.6 to 10.9

This has been compiled on osx 10.9 with xcode 5.1.1 and a  deployment target of osx 10.6.  Tested and works on osx 10.9

Fixes #67