Support Cygwin, MinGW, VS2012