Fix locale issue for win-builds