builder: allow overriding compiler with CC

Reviewer: @jnealtowns

clang-analyzer sets the CC environment variable to a wrapper script before 
running make. We already supported the GCC variable, so this change first
looks for GCC and if that's unset uses CC.