libz configure fix for osxcross
don't try to build X11 support when cross compiling from linux to osx