use the correct export macros
DUChainTestBase doesn't need to be exported
replace export headers w. generate_export_headers

REVIEW:120367