add dll export macros for windows support