Fixed a compilation error when wrapping abstract destructors.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #311 from ddobrev/master

Fixed a compilation error when wrapping abstract destructors