${CC} --version doesn't need to be queried if both COMPILER_TYPE and
COMPILER_VERSION are known
The previous commit should have been a logical or not a logical "and"

Pointyhat to: me