fix solaris build
fix solaris build

Before this patch the build failure looked like:
    ...
    ../../deps/zlib/inftrees.c:330: warning: visibility attribute not supported in this configuration; ignored
    ...
    ld: fatal: relocation error: R_386_GOTOFF: file deps/zlib/deflate.c.0.o: symbol zcfree: a GOT relative relocation must reference a local symbol
    ...

joshtriplett/libgit2,stewid/libgit2,Tousiph/Demo1,iankronquist/libgit2,mhp/libgit2,Aorjoa/libgit2_maked_lib,swisspol/DEMO-libgit2,Tousiph/Demo1,magnus98/TEST,mhp/libgit2,evhan/libgit2,ardumont/libgit2,stewid/libgit2,swisspol/DEMO-libgit2,oaastest/libgit2,maxiaoqian/libgit2,t0xicCode/libgit2,mingyaaaa/libgit2,MrHacky/libgit2,jamieleecool/ptest,swisspol/DEMO-libgit2,mhp/libgit2,falqas/libgit2,falqas/libgit2,raybrad/libit2,Corillian/libgit2,kenprice/libgit2,spraints/libgit2,sim0629/libgit2,since2014/libgit2,t0xicCode/libgit2,since2014/libgit2,sim0629/libgit2,iankronquist/libgit2,amyvmiwei/libgit2,mingyaaaa/libgit2,JIghtuse/libgit2,mcanthony/libgit2,chiayolin/libgit2,sim0629/libgit2,magnus98/TEST,evhan/libgit2,dleehr/libgit2,skabel/manguse,kissthink/libgit2,nacho/libgit2,mcanthony/libgit2,amyvmiwei/libgit2,skabel/manguse,joshtriplett/libgit2,yongthecoder/libgit2,yongthecoder/libgit2,Corillian/libgit2,since2014/libgit2,mhp/libgit2,saurabhsuniljain/libgit2,skabel/manguse,skabel/manguse,spraints/libgit2,whoisj/libgit2,stewid/libgit2,zodiac/libgit2.js,maxiaoqian/libgit2,nokiddin/libgit2,linquize/libgit2,joshtriplett/libgit2,magnus98/TEST,sygool/libgit2,mcanthony/libgit2,chiayolin/libgit2,raybrad/libit2,sygool/libgit2,sim0629/libgit2,rcorre/libgit2,JIghtuse/libgit2,linquize/libgit2,JIghtuse/libgit2,nacho/libgit2,MrHacky/libgit2,Aorjoa/libgit2_maked_lib,mingyaaaa/libgit2,nokiddin/libgit2,Aorjoa/libgit2_maked_lib,claudelee/libgit2,sim0629/libgit2,mingyaaaa/libgit2,jflesch/libgit2-mariadb,JIghtuse/libgit2,whoisj/libgit2,stewid/libgit2,claudelee/libgit2,sygool/libgit2,kenprice/libgit2,claudelee/libgit2,t0xicCode/libgit2,falqas/libgit2,since2014/libgit2,mhp/libgit2,mcanthony/libgit2,jamieleecool/ptest,jflesch/libgit2-mariadb,rcorre/libgit2,chiayolin/libgit2,oaastest/libgit2,magnus98/TEST,Snazz2001/libgit2,chiayolin/libgit2,leoyanggit/libgit2,mrksrm/Mingijura,kenprice/libgit2,KTXSoftware/libgit2,kenprice/libgit2,oaastest/libgit2,KTXSoftware/libgit2,yongthecoder/libgit2,amyvmiwei/libgit2,stewid/libgit2,Snazz2001/libgit2,yongthecoder/libgit2,since2014/libgit2,leoyanggit/libgit2,since2014/libgit2,spraints/libgit2,Corillian/libgit2,sim0629/libgit2,falqas/libgit2,whoisj/libgit2,jflesch/libgit2-mariadb,nacho/libgit2,maxiaoqian/libgit2,dleehr/libgit2,yosefhackmon/libgit2,JIghtuse/libgit2,chiayolin/libgit2,ardumont/libgit2,saurabhsuniljain/libgit2,mhp/libgit2,magnus98/TEST,swisspol/DEMO-libgit2,ardumont/libgit2,raybrad/libit2,leoyanggit/libgit2,saurabhsuniljain/libgit2,spraints/libgit2,sygool/libgit2,nokiddin/libgit2,saurabhsuniljain/libgit2,linquize/libgit2,claudelee/libgit2,mrksrm/Mingijura,linquize/libgit2,kissthink/libgit2,mingyaaaa/libgit2,joshtriplett/libgit2,nokiddin/libgit2,t0xicCode/libgit2,whoisj/libgit2,t0xicCode/libgit2,kissthink/libgit2,MrHacky/libgit2,nokiddin/libgit2,jeffhostetler/public_libgit2,kissthink/libgit2,Corillian/libgit2,dleehr/libgit2,Snazz2001/libgit2,mingyaaaa/libgit2,zodiac/libgit2.js,JIghtuse/libgit2,leoyanggit/libgit2,mcanthony/libgit2,Aorjoa/libgit2_maked_lib,dleehr/libgit2,nacho/libgit2,swisspol/DEMO-libgit2,oaastest/libgit2,jflesch/libgit2-mariadb,mcanthony/libgit2,joshtriplett/libgit2,amyvmiwei/libgit2,mrksrm/Mingijura,raybrad/libit2,kissthink/libgit2,maxiaoqian/libgit2,chiayolin/libgit2,ardumont/libgit2,claudelee/libgit2,spraints/libgit2,zodiac/libgit2.js,Corillian/libgit2,rcorre/libgit2,mrksrm/Mingijura,yosefhackmon/libgit2,KTXSoftware/libgit2,leoyanggit/libgit2,yosefhackmon/libgit2,t0xicCode/libgit2,kissthink/libgit2,whoisj/libgit2,yongthecoder/libgit2,jamieleecool/ptest,Snazz2001/libgit2,swisspol/DEMO-libgit2,sygool/libgit2,raybrad/libit2,falqas/libgit2,dleehr/libgit2,mrksrm/Mingijura,Snazz2001/libgit2,jeffhostetler/public_libgit2,iankronquist/libgit2,claudelee/libgit2,spraints/libgit2,Aorjoa/libgit2_maked_lib,jeffhostetler/public_libgit2,yosefhackmon/libgit2,rcorre/libgit2,Tousiph/Demo1,amyvmiwei/libgit2,KTXSoftware/libgit2,joshtriplett/libgit2,amyvmiwei/libgit2,MrHacky/libgit2,iankronquist/libgit2,sygool/libgit2,skabel/manguse,rcorre/libgit2,Corillian/libgit2,dleehr/libgit2,Tousiph/Demo1,jeffhostetler/public_libgit2,evhan/libgit2,ardumont/libgit2,KTXSoftware/libgit2,jeffhostetler/public_libgit2,iankronquist/libgit2,jflesch/libgit2-mariadb,yongthecoder/libgit2,falqas/libgit2,yosefhackmon/libgit2,maxiaoqian/libgit2,ardumont/libgit2,jeffhostetler/public_libgit2,MrHacky/libgit2,KTXSoftware/libgit2,Tousiph/Demo1,magnus98/TEST,kenprice/libgit2,rcorre/libgit2,saurabhsuniljain/libgit2,stewid/libgit2,evhan/libgit2,leoyanggit/libgit2,MrHacky/libgit2,Snazz2001/libgit2,mrksrm/Mingijura,whoisj/libgit2,maxiaoqian/libgit2,nokiddin/libgit2,zodiac/libgit2.js,Tousiph/Demo1,iankronquist/libgit2,oaastest/libgit2,saurabhsuniljain/libgit2,jamieleecool/ptest,yosefhackmon/libgit2,jflesch/libgit2-mariadb,kenprice/libgit2,linquize/libgit2,zodiac/libgit2.js,skabel/manguse,oaastest/libgit2,linquize/libgit2