fixes to the makefile