cmake: fixes for Apple (specifically; clang generically) to handle some missing AVX instructions.