This cherrypicks the commit: 78af0f6f: Handle cross compile for locale configuration BUG=None TEST=./checkbuild.py on linux x86 Change-Id: I55ab0c97771b5efc3c317c20e7704bd94cb21a25