#786 Fixed generation of .pc files
#1124 Fixes a4b2d69fb1e3b53b118ed08f5952c202651bdc08