Make travis install libevent ext only if needed