add declaration specifiers for DLL generation