Enable 32bit builds.

You specify a 32bit build by setting --target on configure.
Merge pull request #2274 from metajack/build-32bit

Enable 32bit builds.