removing lib dir and a duplicate dependency