Fixes #5811: Do not try to be too specific while using a bundled OpenSSL...

... or not in rudder-agent

Ticket: http://www.rudder-project.org/redmine/issues/5811

To be merged in 2.11