fixing makefiles