Fix libev configure check / Fix libev3 in tests