fix for old version of cocoapods