Index: Modules/_uuidmodule.c
--- Modules/_uuidmodule.c.orig	2025-10-07 11:34:52.000000000 +0200
+++ Modules/_uuidmodule.c	2025-10-08 00:26:51.674113000 +0200
@@ -12,7 +12,7 @@
 #include "Python.h"
 #if defined(HAVE_UUID_H)
   // AIX, FreeBSD, libuuid with pkgconf
-  #include <uuid.h>
+  #include "/usr/include/uuid.h"
 #elif defined(HAVE_UUID_UUID_H)
   // libuuid without pkgconf
   #include <uuid/uuid.h>
Index: configure
--- configure.orig	2025-10-07 11:34:52.000000000 +0200
+++ configure	2025-10-08 00:26:51.676853000 +0200
@@ -5788,9 +5788,9 @@
   CFLAGS=$ac_save_CFLAGS
 elif test $ac_cv_prog_cc_g = yes; then
   if test "$GCC" = yes; then
-    CFLAGS="-g -O2"
+    CFLAGS="-O2"
   else
-    CFLAGS="-g"
+    CFLAGS=""
   fi
 else
   if test "$GCC" = yes; then
@@ -9566,7 +9566,7 @@
 	    if test "$Py_DEBUG" = 'true' ; then
 		OPT="-g $PYDEBUG_CFLAGS -Wall"
 	    else
-		OPT="-g -O3 -Wall"
+		OPT="-O2"
 	    fi
 	    ;;
 	*)
