The attached patch allows the use of other compilers than gcc, respecting the
$CC environment variable. If it is not defined, it will run the command "cc".
It is also possible to use `ifndef` to check if the variable is defined, and if
it is undefined, check it to `gcc`.