Fixed files to compile for python on OSX