Fix compilation Delphi2007 and DelphiXE
Merge pull request #5 from alexeyvo/development

Fix compilation Delphi2007 and DelphiXE