update build-install.sh to revert os override feature