pkg-config: Auto-detect prefix on macOS similar to Windows
Without this, pkg-config can't be run as-is from the installation prefix without setting PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR since we no longer set --define-prefix.
Also remove duplicate recipe inside build-tools, which was actually overriding this recipe.