Fix delphi5 compilation
Merge pull request #68 from alexeyvo/v2

Fix delphi5 compilation