Add hackaround for OSX python build problems