client: fixed build on Windows