Fixing Xcode 4.6 warnings