Added export to all definitions

MSVC was complaining