fixed lib declaration in perl to be dependent on java config