Cool bug: apparently on Mac OS X there are issues doing a __attribute((constructor)) in one thread that uses a static library that might not have been initialized yet. This commit does a work around that doesn't use the __attribute__((constructor)).
Cool bug: apparently on Mac OS X there are issues doing a __attribute((constructor)) in one thread that uses a static library that might not have been initialized yet. This commit does a work around that doesn't use the __attribute__((constructor)).

git-svn-id: 03d7800a49d8905ef4fbcc296184319e19243493@1131747 13f79535-47bb-0310-9956-ffa450edef68

reneploetz/mesos,Gilbert88/mesos,andschwa/mesos,charlescearl/VirtualMesos,reneploetz/mesos,enachb/mesos,neilconway/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,wickman/mesos,pwendell/mesos,verizonlabs/mesos,gsantovena/mesos,samwhitlock/mesos-monitoring,abudnik/mesos,craimbert/mesos,abudnik/mesos,wickman/mesos,abudnik/mesos,enachb/mesos,samwhitlock/mesos-monitoring,Gilbert88/mesos,asamerh4/mesos,chhsia0/mesos,asamerh4/mesos,kaysoky/mesos,zmalik/mesos,andschwa/mesos,Aman-Jain-14/customizedMesos,pwendell/mesos,dforsyth/mesos,chhsia0/mesos,abudnik/mesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,craimbert/mesos,neilconway/mesos,jpeach/mesos,Gilbert88/mesos,gsantovena/mesos,samwhitlock/mesos-monitoring,Aman-Jain-14/customizedMesos,jpeach/mesos,zmalik/mesos,woggle/mesos-old,reneploetz/mesos,wickman/mesos,wickman/mesos,enachb/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,reneploetz/mesos,charlescearl/VirtualMesos,gsantovena/mesos,gsantovena/mesos,Gilbert88/mesos,woggle/mesos-old,enachb/mesos,chhsia0/mesos,zmalik/mesos,zmalik/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,jpeach/mesos,woggle/mesos-old,enachb/mesos,neilconway/mesos,verizonlabs/mesos,asamerh4/mesos,wickman/mesos,verizonlabs/mesos,charlescearl/VirtualMesos,craimbert/mesos,pwendell/mesos,neilconway/mesos,charlescearl/VirtualMesos,Gilbert88/mesos,verizonlabs/mesos,enachb/mesos,jpeach/mesos,wickman/mesos,andschwa/mesos,pwendell/mesos,abudnik/mesos,wickman/mesos,chhsia0/mesos,pwendell/mesos,charlescearl/VirtualMesos,dforsyth/mesos,charlescearl/VirtualMesos,Aman-Jain-14/customizedMesos,woggle/mesos-old,andschwa/mesos,zmalik/mesos,woggle/mesos-old,Aman-Jain-14/customizedMesos,pwendell/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,craimbert/mesos,Gilbert88/mesos,kaysoky/mesos,enachb/mesos,chhsia0/mesos,kaysoky/mesos,reneploetz/mesos,woggle/mesos-old,charlescearl/VirtualMesos,andschwa/mesos,woggle/mesos-old,Gilbert88/mesos,yuquanshan/customizedMesos,reneploetz/mesos,dforsyth/mesos,dforsyth/mesos,gsantovena/mesos,gsantovena/mesos,dforsyth/mesos,pwendell/mesos,kaysoky/mesos,samwhitlock/mesos-monitoring,jpeach/mesos,neilconway/mesos,jpeach/mesos,zmalik/mesos,pwendell/mesos,jpeach/mesos,andschwa/mesos,kaysoky/mesos,asamerh4/mesos,woggle/mesos-old,gsantovena/mesos,craimbert/mesos,chhsia0/mesos,abudnik/mesos,verizonlabs/mesos,charlescearl/VirtualMesos,reneploetz/mesos,neilconway/mesos,asamerh4/mesos,pwendell/mesos,samwhitlock/mesos-monitoring,andschwa/mesos,yuquanshan/customizedMesos,chhsia0/mesos,kaysoky/mesos,samwhitlock/mesos-monitoring,zmalik/mesos,charlescearl/VirtualMesos,dforsyth/mesos,abudnik/mesos,neilconway/mesos,woggle/mesos-old,verizonlabs/mesos,craimbert/mesos,asamerh4/mesos,craimbert/mesos