Various fixes before the MIGRATION. And stop the POSIX madness