add mingw type and cygwin type settings.