diff --git a/configure.ac b/configure.ac
index e8f1a56dfe160dcab0c9dc6fcc473fd0cd277a85..b6bad01ebe6a835f91a670cc16852c4f41d3cd36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,10 @@ AC_CONFIG_SRCDIR([grid/common/grid.hh])
 # do almost nothing, an application using Dune should provide the
 # checks (use the macro provided in m4/dune.m4 to do this)
 
+# don't build shared libs per default, this is way better for debugging...
+AC_DISABLE_SHARED
+AC_PROG_LIBTOOL
+
 # write output
 AC_CONFIG_FILES([Makefile
 	         common/Makefile
@@ -18,6 +22,7 @@ AC_CONFIG_FILES([Makefile
                  grid/common/Makefile
                  grid/sgrid/Makefile
                  grid/spgrid/Makefile
+                 lib/Makefile
                  solver/Makefile
                  solver/common/Makefile
                  solver/pmgsolver/Makefile