fix librarie building