ncurses nowadays installs the headers directly into $prefix/usr/include, so ncurses5-config doesn't return anything important and the logic wasn't taking the wchar variant into consideration - So just drop it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>