Issue fixes #293, missing visible dependency breaking the build

Ran into the same issue as #293 , this PR fixes it (though you might want to review whether my dependency definition is too restrictive for your liking - it does work though).