[scala-extensions] Fix the compile errors. Upgrade to Scala 2.10