abort on non zero exit status of pkgbuild functions prepare, build and install