Fix for Xcode 4.6 compiler warnings.