Avoid static build temporarily due to fail of cmake for generating makefile when cross compile using i686-pc-mingw32
Support mingw cross-compiler for building Windows binary using linux as a development platform
support -std=gnu++0x option for gcc 4.6.3 which does not recognize -std=gnu++11