fixed warning when compiling for arm64 architecture