Fix dependencies, fixes #1