Update Tools.h

Support latest versions of libev