Correctly strip ansi codes on windows without colorama.