fixed a small bug in demo build-script