make CPU affinity hack optional