copy libraries locally if not present