Only strip ANSI color codes on OSX.