library.mak: fix build rules that depend on pgk-config files