added gis and extensions support and exclude custom libevent