Add self-dependencies for modules that have a name different from their filename