Correctly testing for AVX support in x86 based off code from Hosts.cpp.