Add Scala 2.10 build support.