Tests/Dependency/Case5: Fix dll, simplify impl

Add dllexport/dllimport markup.  Just hard-code declarations
instead of using headers, since the headers would need macros
to adapt between export and import.
Merge topic 'fix_link-line-dedup_regression' into next

af169422 Tests/Dependency/Case5: Fix dll, simplify impl