update make file
fix missing stdio.h for CYGWIN.
port for CYGWIN.
fix compile condition for CYGWIN.
fix missing port.h for CYGWIN
fix compile condition for CYGWIN.