Make it work with arm64 and clang