Fix translation issues on windows