Fixing CMake dependencies (relaxing the requirements)