Add Mingw support (tune libraries and disable cpuid with #ifdef)