workaround of tbb::task_scheduler_init on OSX