Fix Posix build