colorize buildtest output only if supported
make buildtest fail on error

closes #607