Fixing set_locale for PHP without LC_MESSAGES