lib rebuild