snmp-agent: fix build on RHEL6