Changed dependencies.sh to comply with some recent issues.