Glen: Minor tweaks to locale.cpp to help it compile with exceptions turned off.