teach vim to detect osx