Work around msvc-10.0 ref_fn_test failure.