Fixed build error without MPI.