Have configure check for curses.h
Fail build with error when ncurses can not be found