Fixup compilation on OSX
Fixup compilation on OSX

Need to always set the TLS for the epoch record otherwise our dtor
won't get called.

Rename some internal functions that will never be exported out of
this file.

ChinaLongGanHu/libphenom,facebook/libphenom,zhenglaizhang/libphenom,zhenglaizhang/libphenom,zhenglaizhang/libphenom,guiquanz/libphenom,zhakui/libphenom,dailypips/libphenom,mhaberler/libphenom,dailypips/libphenom,yangjin-unique/libphenom,mhaberler/libphenom,rogerchina/libphenom,zhenglaizhang/libphenom,sakishum/libphenom,rogerchina/libphenom,zhakui/libphenom,sakishum/libphenom,yangjin-unique/libphenom,sakishum/libphenom,zhenglaizhang/libphenom,mhaberler/libphenom,facebook/libphenom,dailypips/libphenom,rogerchina/libphenom,facebook/libphenom,facebook/libphenom,mhaberler/libphenom,rogerchina/libphenom,guiquanz/libphenom,ChinaLongGanHu/libphenom,yangjin-unique/libphenom,seem-sky/libphenom,mhaberler/libphenom,zhakui/libphenom,zhakui/libphenom,ChinaLongGanHu/libphenom,ChinaLongGanHu/libphenom,seem-sky/libphenom,sakishum/libphenom,seem-sky/libphenom,guiquanz/libphenom,guiquanz/libphenom,seem-sky/libphenom,sakishum/libphenom,seem-sky/libphenom,rogerchina/libphenom,guiquanz/libphenom,yangjin-unique/libphenom,facebook/libphenom,dailypips/libphenom,ChinaLongGanHu/libphenom,zhakui/libphenom,guiquanz/libphenom,yangjin-unique/libphenom,guiquanz/libphenom,dailypips/libphenom