S390: Use compile-only instead of also link-tests in configure.