Fix broken swprintf on windows