Updated the CMakeLists.txt to compile without srv and action directories.