CPU affinity implementaion for OS X