This adds the DLL storage attribute on COFF, and switches to protected visibility on ELF for the interfaces as a small optimization.