cmake: fixes for Apple (specifically; clang generically) to handle some missing AVX instructions.
Merge branch 'maint'
Merge branch 'master' into next