diff --git a/libc3/window/cairo/xcb/demo/configure b/libc3/window/cairo/xcb/demo/configure
index 27003bf..84ff760 100755
--- a/libc3/window/cairo/xcb/demo/configure
+++ b/libc3/window/cairo/xcb/demo/configure
@@ -55,19 +55,19 @@ LIBS="$LIBS"
# Asan config
CFLAGS_ASAN="$CFLAGS -fsanitize=address -O1 -fno-omit-frame-pointer -g"
LDFLAGS_ASAN="$LDFLAGS"
-LOCAL_LIBS_ASAN="../../demo/libc3_window_cairo_demo_asan.la ../libc3_window_cairo_xcb_asan.la"
+LOCAL_LIBS_ASAN="../../../../libc3_asan.la ../../../libc3_window_asan.la ../../libc3_window_cairo_asan.la ../../demo/libc3_window_cairo_demo_asan.la ../libc3_window_cairo_xcb_asan.la"
LIBS_ASAN="$LOCAL_LIBS_ASAN $LIBS"
# Coverage config
CFLAGS_COV="$CFLAGS -ftest-coverage -fprofile-arcs -fprofile-generate"
LDFLAGS_COV="$LDFLAGS --coverage"
-LOCAL_LIBS_COV="../../demo/libc3_window_cairo_demo_cov.la ../libc3_window_cairo_xcb_cov.la"
+LOCAL_LIBS_COV="../../../../libc3_cov.la ../../../libc3_window_cov.la ../../libc3_window_cairo_cov.la ../../demo/libc3_window_cairo_demo_cov.la ../libc3_window_cairo_xcb_cov.la"
LIBS_COV="$LOCAL_LIBS_COV $LIBS"
# Debug config
CFLAGS_DEBUG="$CFLAGS -DDEBUG -O0 -g"
LDFLAGS_DEBUG="$LDFLAGS"
-LOCAL_LIBS_DEBUG="../../demo/libc3_window_cairo_demo_debug.la ../libc3_window_cairo_xcb_debug.la"
+LOCAL_LIBS_DEBUG="../../../../libc3_debug.la ../../../libc3_window_debug.la ../../libc3_window_cairo_debug.la ../../demo/libc3_window_cairo_demo_debug.la ../libc3_window_cairo_xcb_debug.la"
LIBS_DEBUG="$LOCAL_LIBS_DEBUG $LIBS"
# Main config
@@ -76,7 +76,7 @@ if [ "x$ENV_CFLAGS" = "x" ]; then
CFLAGS="$CFLAGS $DEFAULT_CFLAGS"
fi
CFLAGS="$CFLAGS -DNDEBUG"
-LOCAL_LIBS="../../demo/libc3_window_cairo_demo.la ../libc3_window_cairo_xcb.la"
+LOCAL_LIBS="../../../../libc3.la ../../../libc3_window.la ../../libc3_window_cairo.la ../../demo/libc3_window_cairo_demo.la ../libc3_window_cairo_xcb.la"
LIBS="$LOCAL_LIBS $LIBS"
echo "HAVE_ASAN = $HAVE_ASAN" >> ${CONFIG_MK}