Added Gentoo and Ubuntu 12.04 support into deps.sh

Fixes issue #25