Improve dll installation logic

@vtjnash