Win32 build
Sync delphi wrapper with the rest of the code