Fix compilation with mpich