Fix deps in makefiles