Fix a few iOS/misc warnings.