[RFC] Multi-OS support

For neovim/neovim#1538.