more posix fixes