Problem : Build failed with MinGW on windows

related to the issue zeromq/libzmq#1197 "Error when building with CMake and MinGw on Windows"