CMake: yet another fix to the compiler detection recipe.
CMake: yet another fix to the compiler detection recipe.

Thanks to GSoC candidate akshay1994 for fixing this.

koletzky/haikuports,haikuports/haikuports,Begasus/haikuports,moochris/haikuports,haikuports/haikuports,miqlas/haikuports,koletzky/haikuports,Begasus/haikuports,moochris/haikuports,nielx/haikuports,haikuports/haikuports,nielx/haikuports,moochris/haikuports,miqlas/haikuports,Begasus/haikuports,nielx/haikuports,Begasus/haikuports,miqlas/haikuports,haikuports/haikuports,koletzky/haikuports,Begasus/haikuports,haikuports/haikuports