bug in makefile fixed