Curses dependence added to CMake