add ncurses lib/include paths to configure options