generate export header and export symbols for dll on win32
fixed typename outside of template error