Properly detect AVX2.