Fix cpu_flags on MacOS