Cross compile support for Scala 2.11

> Wow, I'm surprised that it worked in 2.10 now.

Seems to compile with either version on 2.10, but the old one gives a warning under 2.11.