android build fix

A small patch to build libevent on Android, when I thought I would need it.
Hope this can help someone at least.