Fixed exports for MSVC.