Fix posix build.