Re-exclude some extraneous library files when not building DC, and eliminate some unneeded with_dc steps for handling documentation.