pud: enable 32/64 bit cross compilation for the java build