update the build script for install.