MinGW build support on Windows

I already mentioned it on the mailing list, support for building nanomsg on windows with mingw

commited under MIT license