Add support for colored output on windows

I had noticed that I could get colored output on windows from other programs. I had noticed that the functions red, green and yellow had empty bodies on windows, and this is the result of investigating how to have the same behavior on both kinds of platforms.