msvc export fix