Fixed support Delphi 7, but the use of the project in Delphi 7 not working.

Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>