To build samples and template projects with glNext on the Mac, one currently needs to add the -lz flag for zlib to the end of the linker flags.
I can do this project-by-project and submit a PR, but if there is an automated way to do it, that would be hugely preferable.