test/cpp/Makefile.am: add ZLIB_LIBS to LDFLAGS