fixes to makefile