windows: fix local copy, thanks @Jan van Valburg