Fix w32 build