migrates to 2.11.0-RC1

This pull request migrates the `tmp/2.11-compat` branch to be compatible with the recently merged scala/scala#3452 without losing the ability to cross-compile for 2.10.x.