Fix OS detection in vimrc configuration.