Use proper Scala 2.10 flags for the 2.10 build