Fix wrench build on Windows

This PR fixes the building of wrench on Windows (and by extension, jujud.exe, where its used).
yup. Those were moved from the original code. Will fix now