use the CC envvar if it is set
Avoid a NULL pointer dereference (that clang sees)