avx2 configure: Disable if static build