skip some tests when cross-compiling

the toolchain is not installed on the target when cross-compiling.
there are no sense to install this module on target, but EUMM is a part of Perl distribution.
so that fixes the Perl test suite when cross-compiling.