Fix e2e.sh to cross-build.