[bugfix][autotools] Fix broken --without-parmetis.

This fixes FS#1404.
(cherry picked from commit 862b6d93f9b99e7fa105eac19048a37085891011)

Signed-off-by: Christoph Grüninger <gruenich@dune-project.org>