pycairo: fix for python-3.4 by LFS patches

Fixes #2693.