Fix cross-version test on windows