Changes needed for Linux32 building. Closes #27.

These changes were discovered when building on a clean 32-bit Ubuntu installation. We don't have CI which *requires* these, but the CI should tell us that the OSes that we have targeted to date do still work.