Remove sbt from install stage when possible