Improve DLL detection
Improve DLL detection

* Fallback wasn't working correctly (portion of the path was being
dropped off)
* Detection from registry (and error reporting) is now cleaner

nachmore/unBand,jehy/unBand