Fix 64-bit autogen build
Merge pull request #335 from pyhalov/autogen

Fix 64-bit autogen build