edit Makefile to support exporting jar