Fix - missing checking the header 'libnet.h'

Signed-off-by: Jorge Pereira <jpereiran@gmail.com>