Hack around OSX python build issues