Convert Makefile to build.sbt; use tmp library file

Loading a fresh, temporary copy of the library each time seems to fix all the
problems, but it does result in multiple redundant linkages in dev mode.