modified version of deps.sh script to work on CentOS