Cross compile support for Scala 2.11

Technically this class is still in 2.11, it's just deprecated so the alternative is we just leave it as-is for now.