add erroronmissingdir option to false when deleting lib directory