fixing Makefiles