modify CMakeLists.txt to conditionally add some compiler flags depending on the compiler. Clang doesn't support them; GCC does