Fix compilation of the libevent driver on Win64. See #304.

Note that there are still no import libraries for libevent/Win64.