adds changes for linux build and shared object for libtreestore