tls_prepare: suppressed a warning on Mac