PROTON-2458: [Python] Fix binding compile on windows with python 3.10
PROTON-2458: [Python] Fix binding compile on windows with python 3.10

apache/qpid-proton,apache/qpid-proton,astitcher/qpid-proton,astitcher/qpid-proton,astitcher/qpid-proton,gemmellr/qpid-proton,astitcher/qpid-proton,apache/qpid-proton,gemmellr/qpid-proton,apache/qpid-proton,apache/qpid-proton,gemmellr/qpid-proton,gemmellr/qpid-proton,astitcher/qpid-proton,gemmellr/qpid-proton,gemmellr/qpid-proton,astitcher/qpid-proton,apache/qpid-proton