fix bugged makefile