main.mk: allow using java 1.7 to build