Pkg-config detection cleanup.