makefile update for packaging