QPID-5051: fixes for swig test failures on RHEL5 (and the failure to detect them)

git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511483 13f79535-47bb-0310-9956-ffa450edef68