fix building test case "test_singlebyte_conv()" with vc2008 or lower