Call ms_factory_create_event_queue() instead of ms_factory_get_event_queue() in linphone_core_init().