Little fixes for supported locale determination