Fix for non compilation with TLS_DEBUG defined