Fix a few iOS warnings.