Another to fix windows compilation

We use our own git functions only now, so it should be OK.