Fix a linking issue when using CocoaPods