scons: fix build on Python pre-2.7

Fixes #31407.
scons: update 2.3.2_1 bottle.

Closes #31502.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>