some fixes on Makefile