Handle missing replicate.library