fixes in makefiles