Port of GNUPatch to MSVC (with msys patches).