Now creates a .deps file for libraries, and also add dependencies in pkg-config files