main.mk: allow building using java 1.7