Ensure builds with JDK6, not later versions