build: format the header check for netinet/ip.h more nicely