These variables are used when building the static dependencies and need
to be used as well when cross compiling using cmake frome the GUIX
environment.
This ensures the proper toolchain is used and fixes the symbol check
failure in the GUIX build.