fix some compile error in cygwin g++
goon
goon
goon
goon
goon
goon