fixed some failes in the makefile