Fix build on Windows some more

3 jobs for windows-build-fixes in 7 minutes and 38 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #3390340
mingw-build

00:06:28

passed #3390338
shared-build

00:07:38

passed #3390339
static-build

00:06:18