Allow overriding CC via the OS environment

This is specifically for supporting the clang static analyzer.  It is invoked
via scan-build, which overrides the environment variables $CC and $CXX in order
to be build system agnostic.