Update compile.sh

modified without sudo commands.