geofence: fix java 7 dependency