Version 2, Dec 8th:
-------------------
- Add -m32 when possible to fix build on x86-64
- Don't use 'length', as it's a keyword, and fix
some instances of shadowing.

Version 1, Dec 7th:
-------------------
Initial version.
