build: force target java to 1.7

Change-Id: I72e4fc51b634cb32b3df698a917aeeb2c061d313
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>