Cygwin/Mingw support