Tidy up setup-env.sh a bit
Bump Linux GCC version to 4.7
Add a ported version of the old build-deps.sh script