s3 build: when detecting to use internal zlib, put "-I../lib/zlib" first in CFLAGS