fix for crash in XAxis zoom functions
handle mingw compilation with -msse2

also fixing some #includes
Merge pull request #302 from hmaon/failmix

XAxis zoom crash fix, handle -msse2 on mingw32