Detect missing toolchain environment variables (except when trying to build the toolchain)