Merge of missing changes for 2.066.1.

Merge up to 0588458.
Allow overriding of header files.

This is the same behavior as DMD.