Support lower case region codes in locale names.

Should fix #140.