Re-added POSIX fixes (No idea why they went away)