ensure the build is done using java 7