Add "lib" target to prepare dependency modules snapshot.