Cleanup: fixed warnings on iOS