MPI: allow to search for mpi and check if it matches CXX

Here's a small update from me to allow to search for an mpi cxx compiler (handy on simple machines). 
The version check disallows the use of MPI compiler if it is not the same as the CXX one.