Fix compile error in demo test_client and file_client under vc++.