Removed some dependencies from CMakeLists file