bpo-35520: Fix build with dtrace support on certain systems. (#11194)

diff --git a/configure b/configure
index b32481d..ebd9f90 100755
--- a/configure
+++ b/configure
@@ -11352,7 +11352,7 @@
   $as_echo_n "(cached) " >&6
 else
               ac_cv_dtrace_link=no
-            echo 'BEGIN' > conftest.d
+            echo 'BEGIN{}' > conftest.d
             "$DTRACE" -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
                 ac_cv_dtrace_link=yes