Fix XCode 4.6 warnings.