build: check if pkg-config is installed

My autotools-fu is not very strong,but lets see if the build slaves turn green.