Fix windows builds. Followup to: 3aa414c12250b29f894c5b04a355522637758bea and e0d528c8be859b1866c1d5af4ae25e408db22239