ncurses: Fix pkgsrc check and use of ncurses