Fixes #5948: don't try to download perl on windows