Build with these cxx flags can fix:

 cmake_cxx_flags: List[str] = []
    for name in ["COMPILER_TYPE", "STDLIB", "BUILD_ABI"]:
        val = getattr(torch._C, f"_PYBIND11_{name}")
        if val is not None:
            cmake_cxx_flags += [f'-DPYBIND11_{name}=\\"{val}\\"']
        print("val: ", val)
        print("cmake_cxx_flags: ", cmake_cxx_flags)