Configure now exits if it can't find a working libtermcap / libncurses. Fixes #7.