fixed some makefile errors