Fixes libev usage