Autoconf clean-up.  Added configure check for ncurses library.