scala 2.11
fix cross compilation