build: fix libev fallback check