Fix DelphiXE compilation