Better compiler detection in CMake. Language detection for Clang
Added error for unsupported compiler versions