sed portability fix creating swigwarn.swg