Fail if dependency isn't found

I believe this should fix issue #1394