Fix sockets for Linux