Fixed dependencies for portability
Compile OpenSSL instead of relying on system packages
fix for DTK-1136