Hack around OSX python build problems