A few fixes for building on a mac (tcpborphserver3 build disabled; empty tdestroy implementation introduces a memory leak; and a few other non-problematic changes).