Add CMake options to disable client or server