Mantis #6311: Delphi 2007 and older support