Apply patch to use LibEvent with Android NDK