Support 32bit architectures

fixed #1