Avoid loading Windows PATH into WSL
We usually avoid the WSL default of putting the full Windows PATH into WSL. Particularly when using a build system like CMake, there will be Windows libraries that WSL-based CMake thinks it can use that it actually can’t.
Fix by editing file /etc/wsl.conf inside the WSL distro:
[interop] enabled=false appendWindowsPath=false