Fix compile error for cygwin1.7.18, without -mwin32 option.
Merge pull request #264 from kuwa72/issue263

Fix compile error for cygwin1.7.18, without -mwin32 option.