Add AVX support for OSX.