Setting link_ignore depending on submodule installation.