how to build libevent for iOS & Android.