Fix warnings in the lldp build.