Fixed iOS7.1 compiler warnings.