Auto detect AVX2 support
We currently detect AVX support automatically by compiling a sample file in order to select the correct implementation of the generated operators.
However, those use AVX2 intrinsics such as _mm256_and_si256
causing jobs to fail occasionally.
Really we should detect AVX2 support.