fixing swigrc check