Compat fixes 5 5 32 tests

Hi, Otto,

these patches make oqgraphv3 work with 5.5.32 - see thread with Tom Marble https://lists.launchpad.net/oqgraph-dev/msg00251.html - hope this is ok

cheers,
--Andrew