convert old libs