fixed Makefile problems