Fix building in serial.

I was working on #84 and realized that things won't build without MPI: `./configure --without-mpi`.

That's because a few files don't use the MPI wrappers and use the MPI compiler which isn't necessary.