patch libgit2 so 0.21.3 can compile with mingw