Fall back to assuming ghc-mid is on PATH when exeutable name is not available
Merge pull request #293 from DanielG/dev-exec-path

Fall back to getProgName when exeutable name is not available