iOS arm64 fixes