To get MacOS to build, some extra dependencies need to be added to a couple of build targets. This mainly shows up when not installing the dependencies in the default prefix locations. On MacOS, this happens when using a custom build of brew to install the dependencies to 'odd' locations. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25992>