Make podspec compatible with osx