Cross compile support for Scala 2.11

Wow, I'm surprised that it worked in 2.10 now.