fixed podspec and build errors