build: Fix recovery image building.

Change-Id: I6ce6559fa3c11b9e2faf49aa008c4441d3191665
build: don't require openjdk, oracle 1.7 works perfectly fine.

Change-Id: Ie52df6c23c1729bf1ec7b2950a092e11eb491fd3
Merge "build: Fix recovery image building." into kitkat
Merge "build: don't require openjdk, oracle 1.7 works perfectly fine." into kitkat