fix kast --parser binary on java backend

Nasty hack, I know. I still want to wait for the new kast to fix this properly though.

@radumereuta please review.