Do not append debug to ndll name.  Remove redundant exit blocking on windows readdir.