install libevent-dev before installing dependencies