[RFC] Multi-OS support

For neovim/neovim#1538.
What's this for?