compat 2.x in locale linux codepath