export stuff for msvc