Locale initialization fix.