Since ./autogen.sh no longer runs, we need to do this. Distutils is deprecated since Python 3.10 and unpatched configure fails because there is an unexpected warning on stderr. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1948397
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>