Correct variable name: CMAKE_COMPILER_IS_GNUC -> CMAKE_COMPILER_IS_GNUCC