menuconfig: optionally use pkg-config to detect ncurses libs