Adopt latest podspec changes (compatibility to CocoaPods 0.17.x).

The CocoaPods API has changed slightly with the 0.17.x release. This patch adopts to their new API and makes this pod work with 0.17.x and 0.16.x.