Bug-fix: fix target dll searching logic