Use `ghc --version` instead of environment variables