added server to CMakeLists.txt
fixed server dependencies