build: force target java to 1.7

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