Non-build stages (such as cleandir) do not determine COMPILER_TYPE and set it to "none". Do not produce an error in this case.
Also, remove the quotes on the error string. They are unnecessary (and were printed as part of the error string).
This partially fixes the WITH_ASAN / WITH_UBSAN build.
Sponsored by: The FreeBSD Foundation