build: Ensure we check absolute path of .pc file

This ensures we don't accidently attempt to check the installed host
version of a .pc file, but only check the one being provided by the
package.