A simple fix for this crash is available. There is no need to include such hacks. Again it's already in the official installer.
Did you also use some sort of wrap? I have expressed my concerns regarding the maintainability of such a wrapper. Bug3045 enhanced my argument. Bo