Rebuild modules dependency management.