fix up makefiles