Fixes problem on windows when defining the locales key