update build-runtimes.sh script