Fix test_packaging on Windows (#12678).

See the distutils commit message for more detail.
2 files changed