Fixes #5147: Bundle OpenSSL as part of rudder-agent's CFEngine build

Ticket: http://www.rudder-project.org/redmine/issues/5147

To be merged in 2.11
Or use the same imbricated ifs as you have below.