Make the build fail for other JDKs than 1.6.