The inreplaces are needed to cope with a superenv added flag that confuses swig. They should be retained.