Plain use the right sbt binary. Hopefully fix OOM errors