Fix dependencies file searching

Closes #37.