added -x flag to build-perf.sh