Fix build for no-ssl configuration