fix member init ordering
Defines for dynamic lib exports.