Fix for build warnings on Xcode 4.6.