Fix Xcode 4.6 warnings