Refactoring makefile:deps to clone/build/install dependencies.