Fix event transport so it works under Mono (untested yet)