fix podspec for platform target