configure build for jdk8