Backport an upstream patch to fix the build. Only needed to build the Python bindings, not orocos-kdl.