build a java 7 compatible jar