start untangling posix/tcc, compiles and runs on osx again