diff --git a/distro/scripts/adl_cots.sh b/distro/scripts/adl_cots.sh
index 79cf45ef143d9ea7571d6015ad04dc9e33881f23..7cacf21ce179bc9b7d6c62050b38c0f8647f6b7e 100755
--- a/distro/scripts/adl_cots.sh
+++ b/distro/scripts/adl_cots.sh
@@ -484,6 +484,7 @@ nagg(){
which patch && \
cd nagg-1.6.2 && \
patch -p1 < ${COTS_HOME}/scripts/revised_nagg.patch && \
+ export CFLAGS=" -I${USER_COTS_PATH}/include "${CFLAGS}
./configure --prefix=${USER_COTS_PATH} --with-hlregion=${USER_COTS_PATH}/lib && \
make && \
make install && \