Adding check for OS AVX support to auto-dispatch code