Fix the UBSan CMake build broken in r182118