Move Windows libev wrapper to own .c file