add rest dir in lib dir