Fixed build issues from using podspec