Fixed error when compiling for arm64