Adds proper detection for AVX2.