Add dependency on libev(-dev) and formatting.