fixing compile for cygwin (mingw-64)
fixing compile for cygwin (mingw-64)