Fix compile errors uncovered by change in JDT inference engine.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>