Improve sbt script on Windows