cross compilation support with scala 2.10 and 2.11