icc fix for threadprivate