Update embedded build script same way as host one.