Fixed compilation without MPI.