libev sync from http://cvs.schmorp.de/libev/