added 32-bit support

closes #1