Fix --disable-files with --enable-sockets