fix pkgconfig file replacement