Making OpenMPI use the C++ libraries.