Switch the version of scala to 2.10 for better cross-JVM compat