fix dist and Makefile