UG doesn't work in `Debug` mode.

Compiling ug with -DDebug results in unresolved references during linking.

Steps to reproduce:

  • add -DDebug to the CMAKE_CXX_FLAGS
  • recompile udne-uggrid
  • try to buidl test-ug in dune-grid