Fix language detecting under Windows

The language detecting under Windows can crash, if the country part is UPPERCASE but the ISO:CC_ constant is lower case. (For example "ISO:CC_DE" vs. "ISO:CC_de")

Happens under a German Windows with PHP 5.3.1