Under cygwin host, ncurses.a is only available instead of termcap.a.

Please also see https://cygwin.com/ml/cygwin/2010-10/msg00018.html .