Update build-nightly.sh