Fixes the compiler detection for gcc when it is your default compiler