Add support for .tar.gz and .tar.bz2 dependencies