configure failed while checking nacl without "-lz"

need link zlib while compiling nacltest.c