This matches how the build was fixed in firefox and thunderbird, switching to use python3.11 to work around build issues with six in python 3.12.