Fix the build on Windows

Interesting, so even that custom approach doesn't work reliably then?