Correcting faulty submodule linkage