fix build with dune 2.2

if opm-upscaling is built with dune 2.2, no library is created as
the code sitting in the library is disabled. gracefully handle
this in find rule

not a good solution in the long run, but does the job for now