Event: fix builder

Signed-off-by: Eduardo Silva <eduardo@monkey.io>
Event: fix compiler warnings

Signed-off-by: Eduardo Silva <eduardo@monkey.io>