fixup! Patch of http://sourceforge.net/p/swig/mailman/message/29816385