fixed ncurses dependancy