Small change to avoid segfault with MPI on some compilers.