Fixed warnings when building for arm64