pm/build_compilers.py::_linux_defaults asks which compiler the source build will actually find, so it searches the build environment's own PATH (the one uv hands the build backend), not the host for an app. That is the same reviewed case as pm/native_build.py::prepare_windows_environment; a hermes_platform resolver answers host discovery and would search the wrong PATH here.