the problem is that the EclMaterialLawManager is currently not used in any opm-material unit test, so the module compiled just fine without these fixes. Mental note to myself: add such a unit test!