mtu: fix various compiler warnings

fixes building with -Werror
pingu: add libev3 compatibility

http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#PORTING_FROM_LIBEV_3_X_TO_4_X