Improve ncurses detections when compiling.