fixes #189: check for failed installs of dependencies and give a more useful error message if that's the case