Do not output color codes when output is not a tty
Fix missing messages from output
Merge branch 'master' of https://github.com/vmeurisse/smpl-build-test