Added enforcer rules, to not attempt to build on JDK 8.