Added finalizer support for C++ objects to ensure dtors are called. Without writing a bunch of template overloads, this ends VS2012 support.