migrate windows build to tdm-gcc v 4.7.1