add needed check for libev