Change scala version to 2.10.4 to make it work with Java8 JDK