use sh to invoke compile.sh and link.sh.