Allow configure --without-curses.

Not finding libcurses was surely causing problems, we now also proceed cleanly
in that case.