Fix for xcode4

Reported by https://travis-ci.org/CocoaPods/Specs/builds/8168706#L155