posix fixes