Fix include listing for dist.
Fix a few things as pointed out by @jtanx.