Use ${MPICC}/${MPICXX} for MPI compilers

And use e.g.

  mpi:
    use: mpich

or

  mpi:
    use: host-mpi

to set those variables for your system.