Fix console output on windows as well.