Disable colors when output is not a terminal.