Fix cpu_flags on MacOS
Merge pull request #6362 from KB1JWQ/Corey-fixcpuflags

Fix cpu_flags on MacOS