Revert "Replace the compiler for OpenMPI, MVAPICH2 and MPICH"

This reverts commit 122f5acfcfbd6aafad30b3181dc8ebe6510c795e.