Update event.c

Include <std> libraries before "local" ones, to reduce compiling issues.