Get translations to work on windows.
This reverts 235c2e356153ccc6a36f7271c4b27a8f3e752a53 on windows.
putenv on windows takes a copy of the string passed to it, and
modifications to that string later on do not result in a modified
environment, unlike the unix variant.