Write libraryDependencies to build.sbt

Fixes #9