Adds git hash to compiler's version switch. Refs #1119.
Merge pull request #1249 from gradha/pr_shows_git_hash

Adds git hash to compiler's version switch. Refs #1119.