rename lib and cflags vars to match actual libraries
fix libev check
start to work on event handler