Fix conflict including algorithm before intrin.h

Fixes https://github.com/niXman/mingw-builds/issues/165.