socks: fix compilation