Fail if dependency isn't found
Merge pull request #1395 from carsonmcdonald/fixdepcheck

Fail if dependency isn't found