cross-compile for scala 2.11/2.10