Fix variable typo
Fix Indentation
Use CMAKE_CXX_COMPILER_VERSION instead of GET_GCC_VERSION