Cygwin/compilation fix