fix bug in makefile