make it compile with Scala 2.11