Modified main CMakeLists.txt to support compilation with distcc