Enforce use of JDK 1.6 or 1.7 to build (addresses #484)