Add SF patch #342 fix some director classes crashing on object deletion when using -builtin.

Fixes SF bug #1301 and python test cases director_basic and
director_classic seg faulting when used with -builtin.

Patch from Christian Delbaere.