Make sure zlib is linked when tag lib is found