try to get src/tcl/unix/dltest to work properly from its parent directory

and other misc. src/tcl/unix changes

Change-Id: I754d4b0647cd94398eff94fc127ae2e4636bb1c0