java lib: updated makefile