Adding ncurses to dependencies.
Adding configure option to specify ncurses use.