minor modifications to build-perf.sh