Prepared for cross building on scala 2.10 and 2.11