Check OS to avoid the "LANG=C" on Windows

Report from Marie-CLaude Quidoz.