Fix broken Python bindings on Trusty: Closes bug #728909

This patch fixes binding issues on Trusty but maintains compatbility
with GIR/Python on Saucy.