added define.hpp with shared lib / DLL visibility macros.