[stv] Modify STV build scripts to build with latest toolchains.