Fix compilation error
Use static VC runtime and support WinXP