Fix function-test on MSVC build.