Turn off cmake checks for all compilers except C