scons: fix build on Python pre-2.7

Fixes #31407.
scons: update 2.3.2_1 bottle.