Build fix when sched_setaffinity is not available