- fix java detection at configure