Delphi XE compatibility
Merge pull request #2 from sglienke/master

Delphi XE compatibility