More amenable parsing to handle versions of ghc-mod not supporting the version command, as well as versions >= 5 that only output version using the version command