add support for scala 2.11.1 and cross-compile