fixed up the makefiles