xbmc: refine configure options; set java/jre paths properly.