use a slightly more general mechanism to replaces references to <curses.h> to <ncurses.h> in the source files.