update build scripts.