fix build on cygwin
fix cygwin build