chmod compile.sh and link.sh properly.