Fixes regression on Windows introduced in 3.x branch.
This tag has no release notes.