Modify CPUCheckForExtensions for OS X.