Fixed up iOS and OSX project warnings under Xcode 6