diff --git a/window/cairo/xcb/configure b/window/cairo/xcb/configure
index 36b6917..dba39d4 100755
--- a/window/cairo/xcb/configure
+++ b/window/cairo/xcb/configure
@@ -40,7 +40,7 @@ OBJECTS_COV="$(c2ext .cov.lo "$SOURCES")"
OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
# Common config for all targets
-CPPFLAGS="$CPPFLAGS -I../../.."
+CPPFLAGS="-I../../.. $CPPFLAGS"
CFLAGS="$CFLAGS -W -Wall -Werror -std=c11 -pedantic -pipe"
LDFLAGS="--shared ${LDFLAGS}"
config_asan
diff --git a/window/cairo/xcb/demo/configure b/window/cairo/xcb/demo/configure
index c52fa66..80455a6 100755
--- a/window/cairo/xcb/demo/configure
+++ b/window/cairo/xcb/demo/configure
@@ -47,7 +47,7 @@ echo "OBJECTS_DEBUG = $OBJECTS_DEBUG" >> ${CONFIG_MK}
# Common config for all targets
CFLAGS="$CFLAGS -W -Wall -Werror -std=c11 -pedantic"
-CPPFLAGS="$CPPFLAGS -I../../../.."
+CPPFLAGS="-I../../../.. $CPPFLAGS"
config_asan
config_gnu
config_i386