Fix locale detection on Linux, where PREF_ACCEPT_LANGUAGES is a localized pref