Making the install-dependencies.sh script more portable.