Fix build on GCC 4.4, hope.
Fix broken error formatting.
Shuffle includes.