client: fix compilation bug for win32