add ncurses to build