Updated target version of build to java 1.7