CP-5822: Make work on both CentOS 5 and CentOS 6

Different versions require different packages.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>