Mac fixes for Thread and RelativeTime