mingw: handle GITPERLLIB in t0021 in a Windows-compatible way