fix build without ssl support

Signed-off-by: Andy Green <andy.green@linaro.org>