--- builddbm.orig	2022-07-05 16:35:31.499897133 +0200
+++ builddbm	2022-07-05 16:35:40.092045547 +0200
@@ -19,7 +19,20 @@
 # Make sure we get the local libs for preference
 BEGIN
 {
-    unshift(@INC, '.');
+    use FindBin;
+    use File::Spec;
+    # Logic:
+    # - Include $FindBin::RealBin always to include Radiator modules.
+    # - If $FindBin::RealBin contains Radiator's well known location
+    #   /opt/radiator/radiator, add respective Radius::UtilXS
+    #   location to the end of @INC. This allows perlbrew, cpanm
+    #   and other Radius::UtilXS installations to be found first.
+    unshift(@INC, $FindBin::RealBin);
+
+    if ($^O ne 'MSWin32' && index($FindBin::RealBin, '/opt/radiator/radiator') != -1)
+    {
+        push(@INC, File::Spec->catdir($FindBin::RealBin, '..', 'radiator-radius-utilxs'));
+    }
 }
 
 require 5.003;
