Fix library build definition in sbt build.

There were two problems with it:

  1. Library should be self-contained so it should use
     `sourcepath` mechanism for bootstrapping and should not
     depend on the library shipped with the compiler we are using
     to compile the library
  2. Once we removed dependency on the library it uncovered other bug:
     missing dependency on forkjoin.