configure: inlcude sys/types.h when checking sys/socket.h