Change thread detection as CBC only supports pthreads.