Fix protocol automatic test for win32