move zlib linking to end
Merge pull request #78 from andrewjpage/master

move zlib linking to end