Fix connect automatic test build for win32