hostapd: fix static build failure

When building statically hostapd with openssl support, it is necessary
to add -lz to LIBS to avoid undefined symbols when linking against
libcrypto.a.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>