fix crash on CPU not having AVX support