Fix python detection of gcc when the name of the compiler is not gcc.