Merge of missing changes for 2.066.1.

Merge up to 0588458.
Allow overriding of header files.

This is the same behavior as DMD.
Merge pull request #752 from redstar/merge-2.066.1

Merge of missing changes for 2.066.1.