correct clib
fix dta manipulation for os2/dos (old dta is always saved and restored after dos calling)
remove useless code in opendir/readdir/closedir implementation