fixed inheriting inhibit_warnings. fixes CocoaPods#1032