bugs in Makefile