Allow compilation while using delphi5

https://github.com/Convey-Compliance/service-bus/issues/235
All tests passes on all platforms(Delphi5, Delphi2007, Delphi XE4)