Updates for issue #112 and issue #114: 32-bit Python support

Workaround for building against 32-bit Python on 64-bit systems.

Unfortunately on Linux it's only possible with a hack?