Try and use Win32::Console::ANSI for output if available