Fix `make distcheck` and move links in menu.html to index.rst
Adjust struct alignment of internal structs/classes