Fix compilation for iOS/ARM64 with newer Xcode