Added -o pipefail to SHELL var in make file. Now pipefail finally works!