Fixes #5824: Make rudder-agent more generic

http://www.rudder-project.org/redmine/issues/5824
Grrr, it is aix only
PR updated