Use underscores in attribute names.
Fixes #8849.
Apply patches from #8753.
Fixes #8753.
Define BOOST_HAS_STDINT_H for PGI on Linux.
Fixes #6724.