Adding extra condition to check for Windows to avoid invalid color optio...

...ns to Command line.