Fix building portable binaries
We received reports MR !695 (merged) broke building portable DP3 binaries. This was caused by enabling AVX2 instructions on all 64-bit platforms. It is now only enabled when the AVX2 instruction set is available.
Edited by Andre Offringa