Added pkg-config generation patch to solve issue #28072