made suggested changes and add --sed-tool option to build-all.sh script