build_oai: Auto-detect if terminal supports colors
This enables build_oai
to detect if the output terminal supports colors.
If it does, it will use colors in its output. If it does not, it will
just print the text, without color codes, improving legibility.
I add this because I find it hard to read the build log files will all the color codes. Putting BUILD-ONLY to see if that has the wanted effect