Fix for when there are no platforms specified

Fixes https://github.com/CocoaPods/pod-template/issues/56