Refs #4568: Fix rudder-agent for AIX building

Ticket: http://www.rudder-project.org/redmine/issues/4568

To be merged in master