Fixing compilation error in sbt