fix buggy makefile