Allow compilation while using delphi5

https://github.com/Convey-Compliance/service-bus/issues/235