makefile bug fix