Fix thread_scheduler
Fix warning on GCC when inheriting from scheduler with hidden visibility