build: disable colours when stderr is a pipe

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>