Improve Makefile dependency graph in order to handle "make -j".