fix problems in makefile