packaging and dll finding improvements