make it compile under Scala 2.10