If dune-grid has been compiled with _GLIBCXX_DEBUG, linking the test program will fail since probing doesn't get the flags that are specified for the main project, and thus configuration halts. Instead, we use a smaller test program which doesn't need proper STL linkage to compile and link.