modified compile.sh