Fixed Java linking path