Use proper CMakeLists.txt for network and client directories