Fix compilation of #146 without MPI
Merge pull request #159 from kronbichler/master

Fix compilation of #146 without MPI. This closes #158.