Fix cross-compilation with mingw-w64
Presumably fix avx2 detection with gcc/clang