minor fixes to the makefile