cl/gcc: fix a compilation failure on Fedora 21
sl/slgcc: print escape sequences only to terminals

Suggested-by: Petr Peringer
sl/slgcc: do not visualize graphs if gcc fails

Suggested-by: Petr Peringer