* config.links: Chnage the way the mpi modules are determined.