Fixed integer precision issues for arm64 compile