Added if block to handle vim being installed via homebrew on OSX