Make Gambit slowness message accurate

Closes #17118.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
python: Explicitly add sqlite to cflags/ldflags

Fixes #15300 because sqlite is keg_only since a few days.

Closes #17120.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>