Fix build on Mac.

 - dropped some unused variables.
 - workaround about libev++ conflicting with EV_ERROR variable declared in <event.h>
 - forgotten include.
Exterminating useless statement.
Merge pull request #9 from 3Hren/v0.11

Fix build on Mac.