Update boostrap.sh to be /bin/sh compliant and work when piped.