restore mpi module when the compiler module is changed