buildroot: adding dependency check for host java if needed