Fix xcode 5 compiler warnings.