add mpi_cxx support