Check for 'z' library before fallbacking to subproject
This avoids compiling libz from subproject when it's available on the platform but without a .pc file, like in Android NDK.
This avoids compiling libz from subproject when it's available on the platform but without a .pc file, like in Android NDK.