Since event.h is not part of tinc, we include it in have.h were all other system header files are included. We also ensure -levent comes before -lgdi32 when compiling with MinGW, apparently it doesn't work when the order is reversed.