add a local copy of the library