update pkgconfig replacements from 5.2 patch