Add build.sbt instead of shipping libs (credit to @non in #2) and fix a
warning.