curl, mercurial specified only if not already defined
Merge pull request #3 from rwilcox/check-for-defined-packages

curl, mercurial specified only if not already defined