Update java build targets, add Library location var