avoid messing up sig* in `defextend` (fixes #18)