fix compile error, add build.sbt