fixed compilation issue with Turbo Delphi / Delphi 2007