This was changed in 7328b78fb5, but I don't understand why — the only
difference should be in static builds, which worked before that change
and didn't work after.
Fixes: 7328b78fb5 ("libhwy: 0.15.0 -> 1.0.2")
It seems to need some help to find gtest when cross compiling.
(Only applies when cross-compiling to compatible architectures where
the tests are enabled, like pkgsStatic.)
Co-authored-by: Daniel Olsen <daniel.olsen99@gmail.com>