Fixed support Delphi XE

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