More careful MPI usage in run_ext_test.cpp

MPI initialization and mpi.h inclusion not more carefully controlled via
preprocessor defines.