separate build steps in shell script