Try to get books to work on both 32- and 64-bit machines (although not the same book on both systems)
Replace structs with arrays in book so that compilers don't get a say in how the bytes are packed.
Modernise makebookfrompgn.py