avoid MPI-1 deprecated features when MPI_VERSION>=2