Fix build.sh for sample.