thread_local not working with macport gcc4.9