make sure copy_tls is defined even if TLS is not available