Move the mpi.h include outside of the __cplusplus check.