switch to java 1.8 in the build