lib: fix pkgconfig file substitutions