fix makefile rules