re-building lib