
Stuff built by CMake evades this check because CMake normalises `/private/tmp` (which is the default `HOMEBREW_TEMP`) to `/tmp`. See https://gitlab.kitware.com/cmake/cmake/-/issues/23251. Let's fix that my taking this into account when `HOMEBREW_TEMP` is `/private/tmp`.