Fix w32 linkage