fix SystemError (libev Unknown error) on Windows