Fix math lib metis linking

This is a split-off from https://github.com/ufz/ogs/pull/1133 having only the MathLib and metis changes.

This has been reviewed and all changes are included. Look at it as a small MathLib cleanup.

Merge request reports

Loading