Fix runtime posix

Fixes implementation of lseek and getdents on 64bit machines.
Test cases DirSeek and DirConsistency are working again.

Removes unused testing-dir. Or any objections for that?