Fix default_compiler regexp

The default_compiler regexp assumed that any match on /^gcc/
in the default_cc meant gcc-4.2, whereas it just as likely could
mean gcc-4.0.