MSVC build compiles and exports necessary functions