libnet: fix for automake 1.13

Closes #17018.