build under windows with mingw2.08 + gcc 4.8.1 + unixem lib + pthread