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

move zlib linking to end