rebuild lib