more fixes to the makefile