Fix availability checks

Checks got broken with CocoaPods 0.34.1's new file structure.

This also fixes Travis builds.