Fix build issues with no-dh, no-dsa and no-ec Reviewed-by: Kurt Roeckx <kurt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2192)