Update compilation for scala 2.10