TS-3195: build fixes for various platforms
Pass the SSL VC down to log SSL errors