Fix compilation of #146 without MPI