add eventchannel (again) with proper build

Restore eventchannel support, with proper build. Only mingw-w64 can be used.