Build for java 1.7