check that clang is used with shared-libs
We should add a check in the root CMakeLists.txt
file to verify that clang is only used with shared libs enabled. Alternatively, test if turning shared libs on for clang only in dune-fem
is sufficient to solve the singleton issue.