Add non- pkg-config test for ncurses