Updated compile.sh to require less dependencies, and to work on more machines