COMP: Add export definitions to build on Windows with shared libs.