fix dependencies in CMakeLists