some fixes in Makefile