pthread_setaffinity_np is linux-only