Get cygwin compilation working