Fixed a compilation error when wrapping abstract destructors