Improve library availability checks (and fix CocoaPods 0.34.1 compatibility)