Use the right sbt binary. Hopefully fix OOM errors