Changed DUB targetType to library