Enable kqueue usage for the threadpool on Mac