make it compile with Scala 2.11.0-M3