Fixes for posix correctness.