Fiddle with "Makefile".
Refactor some stuff.

Remove some unnecessary uses of boolean and fixed-width integer types.