common: terminate build-*.sh scripts if any error